import request from "@/utils/http";

//一级分类列表数据
export const reqCategory = (id) => request({ url: '/category', method: 'get', params: { id } })
//二级分类列表数据
export const reqCategoryFilter = (id) => request({ url: '/category/sub/filter', method: 'get', params: { id } })
//获取面包屑导航数据
export const reqSubCategory = (data) => request({ url: '/category/goods/temporary', method: 'post', data })